$(function () {
    let zoom = (window.innerHeight / 1080).toFixed(3)
    $('.global-content').css({
        'transform': 'translate(-50%, -50%) scale(' + zoom + ')'
    })
    $('.modal').css({
        'transform': 'scale(' + zoom + ')'
    })
})
$(window).on('resize', function () {
    let zoom = (window.innerHeight / 1080).toFixed(3)
    $('.global-content').css({
        'transform': 'translate(-50%, -50%) scale(' + zoom + ')'
    })
    $('.modal').css({
        'transform': 'scale(' + zoom + ')'
    })
})